package com.neu.af.dataFilter.mapper;

import com.neu.af.common.base.BaseMapper;
import com.neu.af.dataFilter.entity.Tag;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface TagMapper extends BaseMapper<String, Tag> {
    List<String> getAllName(Map<String, Object> map);

    List<String> getAllNameWithoutRange();

    List<Tag> getByDescriptor(String descriptor);

    int deleteByTag(Tag tag);
}
